home *** CD-ROM | disk | FTP | other *** search
/ 1st Multimedia Mac Shareware / Multimedia Shareware CD-ROM - BetaCorp.iso / Music⁄Sound / Reference / Mac MIDI Events < prev    next >
Encoding:
Text File  |  1992-07-28  |  7.3 KB  |  130 lines  |  [TEXT/MSWD]

  1. MACINTOSH MIDI EVENTS AND INTERFACES
  2.  
  3. ------------
  4. INTRODUCTION
  5. ------------
  6. All MIDI interfaces, whether for Macintosh, IBM PC, or other computers, are
  7. responsible for converting MIDI events originating in the computer software
  8. into a serial data stream on the cables connecting to various MIDI devices,
  9. or for converting from the serial data stream created by MIDI devices on the
  10. MIDI bus to parallel MIDI event transactions input by the computer.
  11.  
  12. The serial MIDI cables that connect to and from the computer's MIDI interface
  13. are shielded, twisted-pair cables, terminated at each end in a 5-pin DIN
  14. plug. Pins 4 and 5 are connected to the twisted-pair, which carry the MIDI
  15. signal. The MIDI signals are isolated from one device (e.g., computer) to
  16. another (e.g., synthesizer) through the use of "Opto-Isolators", which
  17. serve to aid in noise reduction of the MIDI signals and also provide pro-
  18. tection in the event of a shorted or damaged cable or interface. The elec-
  19. trical interface is a 5 milliampere current loop, in which a logic-0 is
  20. represented by current ON.
  21.  
  22. MIDI signals travel on the twisted pair at 31,250 bits-per-second, and are
  23. transmitted in groups consisting of a single "start-bit", 8 data bits, and
  24. a single "stop-bit". Thus, 10 bits are required to represent each 8-bit
  25. byte of data. Therefore, the effective data rate is 3,125 bytes-per-second.
  26.  
  27. Typically, a MIDI event will consist of two or three 8-bit bytes of data,
  28. although certain MIDI events such as "system exclusive" can contain a great
  29. number of bytes. A "note-on" event, for example, requires 3 bytes to rep-
  30. resent the type of event, the note number, and the attack-velocity values.
  31. Other events, such as program changes, channel pressure, and the like only
  32. require 2 bytes.
  33.  
  34. The MIDI specification allows each event to be associated with one of 16 MIDI
  35. channels (numbered 0 to 15, but sometimes referred to as 1 to 16 in some MIDI
  36. instrument documentation). The channel is transmitted as the lower 4 bits in
  37. the first byte of each "channel message" MIDI event. In addition to "channel
  38. messages", the MIDI data stream can contain "system common", "system exclusive",
  39. and "system real-time" messages.
  40.  
  41.  
  42. ---------------
  43. MIDI INTERFACES
  44. ---------------
  45. All Macintosh MIDI interfaces, with rare exceptions (e.g., the MacProteus
  46. NuBus card) are external "boxes" that connect to the computer's modem and/or
  47. printer ports and provide one or more pairs of MIDI IN and MIDI OUT connectors.
  48. The most inexpensive MIDI interfaces connect to either the modem or printer
  49. port and provide a single pair of MIDI IN and MIDI OUT connectors. More
  50. expensive and elaborate interfaces connect to both the modem and printer ports
  51. and provide two or more pairs of MIDI IN and MIDI OUT connectors. For example,
  52. the Opcode Studio Plus Two interface connects to both the modem and printer
  53. ports and provides two pairs of MIDI IN and MIDI OUT connectors, for a total
  54. of 16 channels per pair, or 32 MIDI channels in total.
  55.  
  56. Even more expensive and elaborate MIDI interfaces, such as the Mark of the
  57. Unicorn's "MIDI Time Piece" interface connect to both the modem and printer
  58. ports and provide 8 pairs of MIDI IN and MIDI OUT ports, for a total of 128
  59. MIDI channels. The MIDI Time Piece (MTP) can be chained to another like MTP,
  60. and it to another, up to a total of 4 MTP interfaces. Together this maximum
  61. configuration offers a total of 512 independent MIDI channels, both input and
  62. output. The top-of-the-line MIDI software (e.g., Opcode's Vision and Mark of
  63. the Unicorn's Performer) provide the ability to support this large number of
  64. channels through a feature known as "cabelization", in which you designate to
  65. which cable a particular group of channels are assigned.
  66.  
  67. Even the most inexpensive Macintosh MIDI interface (e.g., priced < $60) can
  68. accomodate the input and output of events on 16 MIDI channels. However, when
  69. an application requires the use of more than 16 channels, a more expensive
  70. interface will be needed. Generally speaking, all Macintosh MIDI software
  71. recognizes channels on both the modem and printer ports. Therefore, in most
  72. cases, channels are labeled M0-M15 and P0-P15 in the MIDI software.
  73.  
  74. Even if your MIDI interface includes connectors for both the modem and printer
  75. ports, it isn't necessary to connect to both of these if only 16 MIDI channels
  76. will suffice for your needs.
  77.  
  78. Opcode's new Studio 5 MIDI interface is a new type that incorporates a great
  79. deal of intelligence as well as the ability to handle a large number of MIDI
  80. channels. It connects to both the modem and printer ports and provides 15
  81. independent pairs of MIDI IN and MIDI OUT ports, for a total of 240 MIDI
  82. channels. In addition, it includes provisions for real-time "processing" of
  83. the incoming or outgoing MIDI data, adding support for "filtering", "note-
  84. range splitting", "channelization", "controller mapping", and "velocity and
  85. control-value modification". These features are similar to what have only
  86. previously been available in an external "Patchbay" rack-module. In the
  87. Studio 5, they are included in the price. The interface also boasts built-in
  88. MIDI Time Code and SMPTE Syncronization capabilities. It reads and writes all
  89. formats of SMPTE and converts to MIDI Time Code or "Direct Time Lock".
  90.  
  91. Most MIDI interfaces come with cables that connect the interface to the
  92. computer. The interface will have two cables if both the modem and printer
  93. ports are used, or may just have a single cable to connect to either the
  94. modem or printer ports. In addition, the interface may have an internal
  95. power supply, or may have a "wall wort" that you plug into an electrical
  96. socket to supply either the AC or DC power required by the interface.
  97.  
  98. Standard MIDI cables are used to connect the MIDI IN and MIDI OUT ports on
  99. the interface to the synthesizer or other MIDI equipment being used. If the
  100. MIDI setup includes more than one input device (e.g., keyboard and wind
  101. controller), then these must plug into individual IN ports on the interface,
  102. or a "MIDI Merger" box may be required to "merge" the two inputs into a
  103. single input for connection to the interface. Similarly, if a cable attached
  104. to the computer's OUT port is to be connected to more than one MIDI instru-
  105. ment, either the THRU ports on some MIDI instruments must be used to daisy-
  106. chain one instrument's input to another, or a "MIDI Splitter" box must be
  107. used to "split" the single cable into two or more.
  108.  
  109.  
  110. -----------------------
  111. EXAMPLE MIDI INTERFACES
  112. -----------------------
  113. Following is an abbreviated list of Macintosh MIDI interfaces, along with
  114. their capabilities, requirements, and mail-order (list) prices:
  115.  
  116. Interface Name               Ports Used        Total     Street
  117.  Manufacturer                  M or P        Channels     Price
  118. ----------------------       ----------      --------   ---------
  119. Passport MIDI Interface        M or P             16     $  79.00
  120. MOTU MIDI Time Piece           M and P           128       375.00
  121. Opcode Professional Plus       M or P             48*       59.00
  122. Opcode Studio Plus 2           M and P            32      (199.95)
  123. Opcode Studio 5                M and P           240     (1295.00)
  124.  
  125. -----
  126. *  Some MIDI interfaces offer a different number of IN and OUT ports for
  127.    connection to the MIDI bus. An example is the Opcode "Professional Plus"
  128.    interface, which connects to either the modem or printer port, and offers
  129.    three MIDI OUT ports and one MIDI IN port.
  130.